package inseniarlingua.lang.ia;

import static org.junit.Assert.*;
import inseniarlingua.lang.Noun;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

class NounIAFactoryTest
{
	NounIAFactory cut

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
		cut = new NounIAFactory()
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testGetNounS() {
		Noun noun = cut.getNoun("idea")
		assertEquals('idea', noun.singular)
		assertEquals('ideas', noun.plural)
	}
	
	@Test
	public void testGetNounES() {
		Noun noun = cut.getNoun("avion")
		assertEquals('avion', noun.singular)
		assertEquals('aviones', noun.plural)
	}

}
